.ke-teacher-info {
  .teacher-info {
    width: 100%;
    height: 80px;
    box-sizing: border-box;
    padding: 10px 10px 10px 90px;
    position: relative;
    overflow: hidden;

    .avatar {
      position: absolute;
      left: 20px;
      height: 10px;
      width: 60px;
      height: 60px;

      img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
      }
    }

    .name {
      margin: 8px 0;
      color: rgb(35, 184, 255);
    }

    .personalized {
      width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 14px;
    }
  }

  .course-desc {
    box-sizing: border-box;
    padding: 5px 10px 5px 20px;

    .title {
      font-size: 16px;
      margin-bottom: 5px;
    }

    .desc {
      text-indent: 2em;
      font-size: 14px;
      line-height: 18px;
      height: 90px;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 5; // 行数
      -webkit-box-orient: vertical;
    }
  }

  .buy-collect {
    margin-top: 50px;
    width: 100%;
    text-align: center;

    .buy {
      margin-right: 10px;
    }
  }

  .dialog-buy {
    /deep/.el-dialog {
      min-width: 700px;
    }

    .buy {
      .courseInfo {
        position: relative;
        box-sizing: border-box;
        padding-left: 300px;
        height: 156px;

        .poster {
          position: absolute;
          width: 280px;
          height: 156px;
          left: 0;

          img {
            width: 100%;
            height: 100%;
          }
        }

        .courseName {
          font-size: 30px;
          margin-bottom: 5px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }

        .courseDesc {
          text-indent: 2em;
          box-sizing: border-box;
          padding: 5px 0;
          height: 36px;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2; // 行数
          -webkit-box-orient: vertical;
        }

        .teacherName {
          font-size: 16px;
          line-height: 1.5;
          margin: 5px 0;
        }

        .price {
          font-size: 16px;

          span {
            color: #ff0042;
          }
        }
      }
    }
  }

  .dialog-collect {
    /deep/.el-dialog {
      min-width: 700px;
    }

    .buy {
      .courseInfo {
        position: relative;
        box-sizing: border-box;
        padding-left: 300px;
        height: 156px;

        .poster {
          position: absolute;
          width: 280px;
          height: 156px;
          left: 0;

          img {
            width: 100%;
            height: 100%;
          }
        }

        .courseName {
          font-size: 30px;
          margin-bottom: 5px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }

        .courseDesc {
          text-indent: 2em;
          box-sizing: border-box;
          padding: 5px 0;
          height: 36px;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2; // 行数
          -webkit-box-orient: vertical;
        }

        .teacherName {
          font-size: 16px;
          line-height: 1.5;
          margin: 5px 0;
        }

        .price {
          font-size: 16px;

          span {
            color: #ff0042;
          }
        }
      }
    }
  }
}